﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002AD RID: 685
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueSelectBpScRsp : IMessage<ChessRogueSelectBpScRsp>, IMessage, IEquatable<ChessRogueSelectBpScRsp>, IDeepCloneable<ChessRogueSelectBpScRsp>, IBufferMessage
	{
		// Token: 0x170008E7 RID: 2279
		// (get) Token: 0x06001EAA RID: 7850 RVA: 0x000574CB File Offset: 0x000556CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueSelectBpScRsp> Parser
		{
			get
			{
				return ChessRogueSelectBpScRsp._parser;
			}
		}

		// Token: 0x170008E8 RID: 2280
		// (get) Token: 0x06001EAB RID: 7851 RVA: 0x000574D2 File Offset: 0x000556D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueSelectBpScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170008E9 RID: 2281
		// (get) Token: 0x06001EAC RID: 7852 RVA: 0x000574E4 File Offset: 0x000556E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueSelectBpScRsp.Descriptor;
			}
		}

		// Token: 0x06001EAD RID: 7853 RVA: 0x000574EB File Offset: 0x000556EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueSelectBpScRsp()
		{
		}

		// Token: 0x06001EAE RID: 7854 RVA: 0x000574F4 File Offset: 0x000556F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueSelectBpScRsp(ChessRogueSelectBpScRsp other) : this()
		{
			this.pHHKJLLGBKK_ = other.pHHKJLLGBKK_;
			this.pLIFGMFHFIE_ = ((other.pLIFGMFHFIE_ != null) ? other.pLIFGMFHFIE_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001EAF RID: 7855 RVA: 0x0005754C File Offset: 0x0005574C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueSelectBpScRsp Clone()
		{
			return new ChessRogueSelectBpScRsp(this);
		}

		// Token: 0x170008EA RID: 2282
		// (get) Token: 0x06001EB0 RID: 7856 RVA: 0x00057554 File Offset: 0x00055754
		// (set) Token: 0x06001EB1 RID: 7857 RVA: 0x0005755C File Offset: 0x0005575C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PHHKJLLGBKK
		{
			get
			{
				return this.pHHKJLLGBKK_;
			}
			set
			{
				this.pHHKJLLGBKK_ = value;
			}
		}

		// Token: 0x170008EB RID: 2283
		// (get) Token: 0x06001EB2 RID: 7858 RVA: 0x00057565 File Offset: 0x00055765
		// (set) Token: 0x06001EB3 RID: 7859 RVA: 0x0005756D File Offset: 0x0005576D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CKNIBADCANC PLIFGMFHFIE
		{
			get
			{
				return this.pLIFGMFHFIE_;
			}
			set
			{
				this.pLIFGMFHFIE_ = value;
			}
		}

		// Token: 0x170008EC RID: 2284
		// (get) Token: 0x06001EB4 RID: 7860 RVA: 0x00057576 File Offset: 0x00055776
		// (set) Token: 0x06001EB5 RID: 7861 RVA: 0x0005757E File Offset: 0x0005577E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06001EB6 RID: 7862 RVA: 0x00057587 File Offset: 0x00055787
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueSelectBpScRsp);
		}

		// Token: 0x06001EB7 RID: 7863 RVA: 0x00057598 File Offset: 0x00055798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueSelectBpScRsp other)
		{
			return other != null && (other == this || (this.PHHKJLLGBKK == other.PHHKJLLGBKK && object.Equals(this.PLIFGMFHFIE, other.PLIFGMFHFIE) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06001EB8 RID: 7864 RVA: 0x000575F8 File Offset: 0x000557F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PHHKJLLGBKK != 0U)
			{
				num ^= this.PHHKJLLGBKK.GetHashCode();
			}
			if (this.pLIFGMFHFIE_ != null)
			{
				num ^= this.PLIFGMFHFIE.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06001EB9 RID: 7865 RVA: 0x00057666 File Offset: 0x00055866
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06001EBA RID: 7866 RVA: 0x0005766E File Offset: 0x0005586E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06001EBB RID: 7867 RVA: 0x00057678 File Offset: 0x00055878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PHHKJLLGBKK != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.PHHKJLLGBKK);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.pLIFGMFHFIE_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.PLIFGMFHFIE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06001EBC RID: 7868 RVA: 0x000576F0 File Offset: 0x000558F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PHHKJLLGBKK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PHHKJLLGBKK);
			}
			if (this.pLIFGMFHFIE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.PLIFGMFHFIE);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001EBD RID: 7869 RVA: 0x00057760 File Offset: 0x00055960
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueSelectBpScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PHHKJLLGBKK != 0U)
			{
				this.PHHKJLLGBKK = other.PHHKJLLGBKK;
			}
			if (other.pLIFGMFHFIE_ != null)
			{
				if (this.pLIFGMFHFIE_ == null)
				{
					this.PLIFGMFHFIE = new CKNIBADCANC();
				}
				this.PLIFGMFHFIE.MergeFrom(other.PLIFGMFHFIE);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001EBE RID: 7870 RVA: 0x000577DC File Offset: 0x000559DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001EBF RID: 7871 RVA: 0x000577E8 File Offset: 0x000559E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 88U)
					{
						if (num != 106U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.pLIFGMFHFIE_ == null)
							{
								this.PLIFGMFHFIE = new CKNIBADCANC();
							}
							input.ReadMessage(this.PLIFGMFHFIE);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.PHHKJLLGBKK = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000C9D RID: 3229
		private static readonly MessageParser<ChessRogueSelectBpScRsp> _parser = new MessageParser<ChessRogueSelectBpScRsp>(() => new ChessRogueSelectBpScRsp());

		// Token: 0x04000C9E RID: 3230
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000C9F RID: 3231
		public const int PHHKJLLGBKKFieldNumber = 7;

		// Token: 0x04000CA0 RID: 3232
		private uint pHHKJLLGBKK_;

		// Token: 0x04000CA1 RID: 3233
		public const int PLIFGMFHFIEFieldNumber = 13;

		// Token: 0x04000CA2 RID: 3234
		private CKNIBADCANC pLIFGMFHFIE_;

		// Token: 0x04000CA3 RID: 3235
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04000CA4 RID: 3236
		private uint retcode_;
	}
}
